package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
public class Refund {
    private Long id;

    private Officialstu student;//学员

    private SystemDictionaryBill classes;//班级

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GTM+8")
    private Date refundTime;//退款时间

    private BigDecimal refundAmount;//退款金额

    private Employee refundMan;//退款人

    private Employee inputUser;//录入人

    private SystemDictionaryBill payMethod;//退款方式

    private String no;//单据号

    private String remark;//备注

    private Integer state;//审核状态 0未审核 1已审核

}